home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / streaming / qtspacketizerreassembler / componentvideortp / headers / rtprssmcomponentvideo.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.6 KB  |  63 lines

  1. /*
  2.     File:        RTPRssmComponentVideo.h
  3.  
  4.     Contains:    Declarations for Component Video RTPReassembler
  5.     
  6.     Copyright:    © 1997-1999 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. #ifndef __RTPRSSMCOMPONENTVIDEO__
  11. #define __RTPRSSMCOMPONENTVIDEO__
  12.  
  13. #pragma once
  14.  
  15.  
  16.  
  17. /* ---------------------------------------------------------------------------
  18.  *        H E A D E R S
  19.  * ---------------------------------------------------------------------------
  20.  */
  21.  
  22. #include <QTStreamingComponents.h>
  23. #include "ComponentVideoRTP.h"
  24.  
  25.  
  26.  
  27. /* ---------------------------------------------------------------------------
  28.  *        D A T A T Y P E S
  29.  * ---------------------------------------------------------------------------
  30.  *
  31.  *    An RTPRssmComponentVideoInstanceData structure stores instance variables
  32.  *    for a Component Video RTPReassembler instance.  The structure declares the
  33.  *    following fields:
  34.  *    
  35.  *        itself                        the RTPReassembler instance that maintains
  36.  *                                    this data structure
  37.  *        
  38.  *        itsBase                        the RTPReassembler to which the instance
  39.  *                                    delegates calls
  40.  *        
  41.  *        itsFinalDerivation            the RTPReassembler instance to which the
  42.  *                                    instance targets calls to itself
  43.  *        
  44.  *        itsPayloadAttributes        cached attributes of incoming payloads
  45.  *        
  46.  *        itsSavedChunk                the most recent frame of reassembled
  47.  *                                    sample data
  48.  *
  49.  */
  50.  
  51. typedef struct
  52. {
  53.     RTPReassembler            itself;
  54.     RTPReassembler            itsBase;
  55.     RTPReassembler            itsFinalDerivation;
  56.     ComponentVideoPayload    itsPayloadAttributes;
  57.     SHChunkRecord *            itsSavedChunk;
  58. } RTPRssmComponentVideoInstanceData;
  59.  
  60.  
  61.  
  62. #endif /* __RTPRSSMCOMPONENTVIDEO__ */
  63.